package com.zy.datareceiver.binsess.warning.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "warning_receiver")
public class WarningReceiver {
    /**
     * 预警接收人员id
     */
    @Id
    private Integer id;

    /**
     * 预警接收人员姓名
     */
    @Column(name = "receiver_name")
    private String receiverName;

    /**
     * 预警接收人员手机号码
     */
    @Column(name = "receiver_phone")
    private String receiverPhone;

    /**
     * 预警接收人员邮箱
     */
    @Column(name = "receiver_email")
    private String receiverEmail;

    /**
     * 监测对象名称
     */
    @Column(name = "project_name")
    private String projectName;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 获取预警接收人员id
     *
     * @return id - 预警接收人员id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置预警接收人员id
     *
     * @param id 预警接收人员id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取预警接收人员姓名
     *
     * @return receiver_name - 预警接收人员姓名
     */
    public String getReceiverName() {
        return receiverName;
    }

    /**
     * 设置预警接收人员姓名
     *
     * @param receiverName 预警接收人员姓名
     */
    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    /**
     * 获取预警接收人员手机号码
     *
     * @return receiver_phone - 预警接收人员手机号码
     */
    public String getReceiverPhone() {
        return receiverPhone;
    }

    /**
     * 设置预警接收人员手机号码
     *
     * @param receiverPhone 预警接收人员手机号码
     */
    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    /**
     * 获取预警接收人员邮箱
     *
     * @return receiver_email - 预警接收人员邮箱
     */
    public String getReceiverEmail() {
        return receiverEmail;
    }

    /**
     * 设置预警接收人员邮箱
     *
     * @param receiverEmail 预警接收人员邮箱
     */
    public void setReceiverEmail(String receiverEmail) {
        this.receiverEmail = receiverEmail;
    }

    /**
     * 获取监测对象名称
     *
     * @return project_name - 监测对象名称
     */
    public String getProjectName() {
        return projectName;
    }

    /**
     * 设置监测对象名称
     *
     * @param projectName 监测对象名称
     */
    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}